package com.group4.rbac.mapper;

import com.group4.rbac.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.study.util.ResponseResult;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 权限 Mapper 接口
 * </p>
 *
 * @author cloud
 * @since 2022-03-10
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    @Select("select * from rbac_permission where pid = 1")
    List<Permission> order();

}
